Programming Technique 1

Chapter 1 : Programming Problem-Solving

This chapter focuses on teaching the concepts of flowcharts and pseudocode.

Chapter 2 : Elementary Programming

This chapter focuses on teaching the fundamentals of building programs in C++.

Chapter 3 : Control Structure

Control structures are fundamental building blocks in programming, enabling developers to dictate the flow of execution in a program. They allow decisions to be made, loops to be executed, and actions to occur under specific conditions.

Chapter 4 : Function

In C++, a function is a reusable block of code that performs a specific task. Functions help in organizing code, improving readability, and reducing redundancy. They are a fundamental concept in C++ programming, allowing developers to write modular and maintainable programs.

Chapter 5 : Array

An array in C++ is a collection of elements of the same data type stored in contiguous memory locations. Arrays allow us to manage large amounts of data efficiently by using a single variable to represent multiple elements.

Chapter 6 : Input and Output

In C++, input and output operations allow a program to interact with the user or external systems by receiving data (input) and displaying information (output). These operations are handled using streams provided by the Standard Input/Output Library.

Chapter 7 : Pointers

In C++, a pointer is a variable that stores the memory address of another variable. Pointers are a powerful feature of C++ that allow for dynamic memory management, efficient array manipulation, and more flexible programming techniques.

Chapter 8 : Structured Data

Structured data in C++ refers to data that is organized in a way to represent complex entities or relationships using constructs like arrays, classes, structures, or user-defined data types. This approach allows programmers to group related data logically, making code more readable and maintainable.

Lab Exercise

1. Lab Exercise 1 : do a pseudocode and flowchart

2. Lab Exercise 2 : do a C++ program using pre-test loop

3. Lab Exercise 3 : do a C++ program using function

Assignment

1. Assignment 1 : BMR Calculator

2. Assignment 2 : Car loan Calculator